package com.mao.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.mao.disruptor.entity.LongEvent;

/**
 * EventFactory 实例化LongEvent对象
 */
public class LongEventFactory implements EventFactory<LongEvent> {

    @Override
    public LongEvent newInstance() {
        return new LongEvent();
    }
}
